package at.main.android;
/* 
 *  Convert J2ME to Android v.001
 *  Author: Van Tan Tai 
 *  Mail  : itvan@live.com
 *  Date  : 11.11.2010
 * 
 */
public class DisplayJ2ME {
	
	private static DisplayJ2ME _ins = null;
	
	public DisplayJ2ME() {
		_ins = this;
	}
	
	public static DisplayJ2ME getDisplay(MIDlet ins){
		// just fake
		if(_ins == null)
			_ins = new DisplayJ2ME();
		return _ins;
	}
	
	public void setCurrent(CanvasJ2ME canvas){
		Static.App.setContentView(canvas.getView());
	}

	public void vibrate(int miliseconds) {
		vibrate(miliseconds);
	}
}
